﻿using System;
using System.Collections.Generic;
using System.Configuration;
using System.Linq;
using System.Text;

namespace Wedn.Net.UI.Route
{
    public class RouteConfigurationSection : ConfigurationSection
    {
        public RouteConfigurationSection() { }

        [ConfigurationProperty("ignore", IsRequired = false)]
        public IgnoreCollection Ignore
        {
            get { return (IgnoreCollection)(this["ignore"]); }
            set { this["ignore"] = value; }
        }


        [ConfigurationProperty("map", IsRequired = false)]
        public RoutingCollection Map
        {
            get { return (RoutingCollection)(this["map"]); }
            set { this["map"] = value; }
        }

        [ConfigurationProperty("short", IsRequired = false)]
        public RoutingCollection Short
        {
            get { return (RoutingCollection)this["short"]; }
            set { this["short"] = value; }
        }

        [ConfigurationProperty("extend", IsRequired = true)]
        public string Extend
        {
            get { return this["extend"].ToString(); }
            set { this["extend"] = value; }
        }
    }
}
